
body {
    background-image: url('it.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
}


header {
    background-color: gray;
    width: 100%;
    border-radius: 0 0 30px 30px; 
    box-shadow: black 5px 10px;
    text-align: center;
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1000;
    transition: 0.3s;
}

header:hover {
    background-color: gray;
 
}

.Head {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    padding: 20px 10px;
}

/* --- Links --- */
a {
    color: black;
    text-decoration: none;
    margin: 5px 10px;
    padding: 10px;
    transition: 0.3s;
    font-size: 18px; 
}

a:link { color: black; }
a:visited { color: aquamarine; }

a:hover {
    background-color: silver;
    color: white;
    border-radius: 5px;
    font-size: 22px; 
}

a:active { color: blue; }
a:focus { color: red; }


#h1 {
  
    margin-top: 140px; 
    margin-bottom: 30px;
    text-align: center;
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.picture {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

img {
    width: 300px;       
    max-width: 80%;     
    border-radius: 30px;
    transition: transform 0.5s ease; 
}

img:hover {
    transform: scale(1.1); 
}


@media (max-width: 600px) {
    #h1 {
        margin-top: 180px; 
        font-size: 2.2rem;  
    }

    a {
        font-size: 16px;  
        padding: 8px;
    }
    
    a:hover {
        font-size: 18px;  
}